func foo(): pass

# class X: func foo(): pass

# class Y extends Reference: pass
